<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String PATH = request.getContextPath();
%>

<jsp:include page="../common/header.jsp">
	<jsp:param name="title" value="通知公告"/>
</jsp:include>

<div class="page with-sidebar">
	<div class="page-header">
        <div class="page-header-content">
            <h1 style="width:500px">部门管理<small>案例</small></h1>
            <a class="back-button big page-back" href="<%=PATH %>"></a>
        </div>
    </div>
    
    <div class="page-sidebar">
    	<ul>
    		<li class="sticker sticker-color-orangeDark">
    			<a href="#touse">使用说明</a>
    		</li>
    	</ul>
    </div>
    
    <div class="page-region">
    	<div class="grid" style="padding-left:20px;">
    		<div class="row">
				   <h2 id="touse">使用说明</h2>
				   <div>
				   		1. 这里的任何操作都是以JSON格式返回结果数据
				   </div>
    		</div>
    		<br />
    		
    	</div>
    </div>
</div>

<script>
	function deleteNotify(){
		var key = $("#key").val();
		
		if(Number(key) > 0){
			if(confirm("真的要删除这条公告吗？")){
				$("#search_a").attr("href", "<%=PATH %>/notify/delete.htm?id="+key);
				$("#search_span").trigger("click");
			}
			
		}else{
			alert("输入有误！id必须是数字且大于0");
		}
		return true;
	}
	
	function search(){
		var page = $("#page").val();
		var size = $("#pageSize").val();
		$("#search_a_list").attr("href", "<%=PATH %>/notify/list.htm?page="+page+"&pageSize="+size);
		$("#search_list").trigger("click");
		
		return true;
	}
</script>

<%@ include file="../common/footer.jsp" %>